package com.zhaogang.example;

public class Something {
	/*
	 * public static void main(String[] args) { Something s = new Something();
	 * System.out.println("s.doSomething()  returns  " + s.doSomething()); }
	 * public String doSomething() { return "Do  something  ..."; }
	 */

	public static void main(String[] args) {
		Other o = new Other();
		new Something().addOne(o);
	}

	public void addOne(final Other o) {
		o.i++;
	}
}

